package org.jmh.org.service;

import org.jmh.auth.domain.Menu;
import org.jmh.auth.dto.RoleDTO;
import org.jmh.base.service.IBaseService;
import org.jmh.base.util.PageInfo;
import org.jmh.org.domain.Department;
import org.jmh.org.domain.Employee;
import org.jmh.org.query.DepartmentQuery;
import org.jmh.org.query.EmployeeQuery;

import java.io.Serializable;
import java.util.List;

public interface IEmployeeService extends IBaseService<Employee> {
    Employee selectByName(String username);

    List<Menu> getMenuByEmpId(Long id);

    void auth1(RoleDTO roleDTO);

    List<Long> queryRoleById(Long id);
}

